﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/6/12 星期三 18:06:38
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sector7.Framework.Core
{
    /// <summary>
    /// 导航配置信息
    /// </summary>
    public class NavigationConfiguration : ConfigurationBase
    {
        #region Accessor
        /// <summary>
        /// 获取或设标题
        /// </summary>
        public string Caption { get; set; }

        /// <summary>
        /// 获取或设置模块编号
        /// </summary>
        public string ModuleId { get; set; }

        /// <summary>
        /// 获取或设置窗口类名称
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 获取或设置子集项列表
        /// </summary>
        public List<NavigationConfiguration> Items { get; set; }
        #endregion

        #region Public functions
        /// <summary>
        /// 添加子集项
        /// </summary>
        /// <param name="item"></param>
        public void AddItem(NavigationConfiguration item)
        {
            if (Items == null)
            {
                Items = new List<NavigationConfiguration>();
            }
            Items.Add(item);
        }
        #endregion

        #region Structure
        #endregion

        #region Inner members
        #endregion
    }
}
